.home {
  $f: 19.2;

  .banner {
    position: relative;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }

    .text {
      position: absolute;
      left: 0;
      width: 100%;
      bottom: 30/$f+vw;
      color: white;
      padding: 0 200/$f+vw;

      .p1 {
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }

      .des {
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .container {
    margin: 180/$f+vw 227/$f+vw;

    .list {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      position: relative;

      &::before {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        top: 0;
        opacity: 0.5;
        background: #D9D9D9;
        width: 2px;
        height: 100%;
      }

      .item {
        width: 50%;
        padding: 0 30/$f+vw;
        position: relative;
        &::before{
          content:'';
          display: block;
          position: absolute;
          width: 12/$f+vw;
          height: 12/$f+vw;
          background: #E6001A;
          border-radius: 50%;
          left:-6/$f+vw;
          top:10/$f+vw;
        }
        .year{
          color: #E6001A;
          font-size: 32/$f+vw;
        }
        .st{
          margin: 16/$f+vw 0;
          color: #000;
          font-size: 20/$f+vw;
        }
        .pic {
          overflow: hidden;
          img {
            width: 100%;
            display: block;
            transition: all 600ms;
            object-fit: cover;
          }
          &:hover{
            img{
              transform: scale(1.05);
            }
          }
        }
      }
      .item:nth-child(2n-1){
        margin-top: 300/$f+vw;
        text-align: right;
        &::before{
          right:-7/$f+vw;
        left:auto;
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }
    }

    .nav_menu {
      padding: 0;

      a {
        padding: 15px 10px;
        font-size: 14px;
      }

      span {
        height: 10px;
      }
    }
    .container{
      margin: 30px 0 80px 0;
      .list{
        .item{
          padding: 0 15px;
          &::before{
            width: 8px;
            height: 8px;
            left: -3px;
          }
          .year{
            font-size: 18px;
          }
          .st{
            font-size: 14px;
            margin: 10px 0;
          }
        }
        .item:nth-child(2n-1){
          &::before{
            left: auto;
            right: -3px;
          }
        }
      }
    }
  }

}